package Cantella::DJabberd::Model::Admin::RosterGroup;

use Reaction::InterfaceModel::ObjectClass;

class RosterGroup, which {

#feeeeeeeeeeeeeeeeeeeeeeeeeeeex
  has roster_items =>
    (
     clearer        => '_clear_roster_items',
     domain_model   => '_roster_group_store',
     is             => 'ro',
     isa            => 'Cantella::DJabberd::Model::Admin::RosterItem::Collection',
     lazy           => 1,
     orig_attr_name => 'roster_items',
     required       => 1,
     default => sub {
       my $rs = shift->_roster_group_store->roster_items;
       Cantella::DJabberd::Model::Admin::RosterItem::Collection->new( _source_resultset => $rs);
     },
    );


};

1;
